package com.example.springbootmybatis.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @program: springboot_test
 * @description:
 * @author: Mr. Wu
 * @create: 2025-01-08 11:04
 **/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Component
public class Post implements Serializable {
    private Integer id;
    private String subject;
    private String body;
    private String authorname;
    private Integer blogid;
}
